package com.shrct.businessprocess.project;

import com.shrct.businessprocess.common.RCGeneralCreditData;
import com.shrct.businessprocess.organization.RCEmployee;
import com.shrct.businessprocess.organization.RCEnterprise;
import com.shrct.businessprocess.project.RCProjectCreditStat;
import com.shrct.businessprocess.project.RCTotalProjectCreditStat;
import edu.fudan.mylang.pf.IBaseService;
import java.util.Collection;

public interface RCProjectCreditStatService extends IBaseService {
  public abstract RCGeneralCreditData createD();
  
  public abstract Double sumDouble(final Iterable<Double> values);
  
  public abstract Integer sumInteger(final Iterable<Integer> values);
  
  public abstract RCTotalProjectCreditStat generateTotalStat(final Collection<RCGeneralCreditData> datas);
  
  public abstract Collection<RCProjectCreditStat> getProjectCreditStat(final RCEnterprise customer);
  
  public abstract Collection<RCProjectCreditStat> getProjectCreditStat(final RCEmployee saler);
}
